﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ATM_Machine
{
    public partial class GetBalance : Form
    {
        Model m = new Model();
        public GetBalance()
        {
            InitializeComponent();
        }

        private void GetBalance_Load(object sender, EventArgs e)
        {
            textBox1.Text = m.getBalance().ToString() + "$";
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
